package com.nhjf.exception;

public class CzshopException extends Exception {
	private static final long serialVersionUID = 1L;

	private String errorCode;
	private Object info;

	public CzshopException(String message) {
		super(message);
	}

	public CzshopException(String errorCode, String message) {
		super(message);
		this.errorCode = errorCode;
	}
	
	public CzshopException(String message, String errorCode, Object info) {
		super(message);
		this.errorCode = errorCode;
		this.info = info;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public Object getInfo() {
		return info;
	}

	public void setInfo(Object info) {
		this.info = info;
	}

}
